<?php
ob_start();
define('ROOT', str_replace("\\", '/',dirname(__FILE__)));                    
define('SYS_PATH', ROOT.'/sys');                                            
define('APP_PATH', ROOT.'/app');                                             
require_once SYS_PATH.'/load.php';
require_once APP_PATH.'/init.php';
$control = new Controller();
$control->setControllerDir(APP_PATH.'/controllers');
$control->go();
